package com.banyuan.map_;

import java.util.HashMap;
import java.util.Map;

/**
 * @author 陶继发
 * @version 1.8
 */
@SuppressWarnings("all")
public class Map_ {
    public static void main(String[] args) {
        Map<String,String> map = new HashMap();
        map.put("01","111");
        map.put("02","222");
        map.put("03","333");
        map.put("04","444");
        map.put("05","555");

        for(Map.Entry obj:map.entrySet()){
            Object key = obj.getKey();
            Object value = obj.getValue();
            System.out.println(key+"-"+value);
        }
    }
}
